home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************************************/
- /* */
- /* Program Name: Stiletto */
- /* */
- /* File Name: ModuleWindow.h */
- /* */
- /* © Apple Computer, Inc. 1991-1995 */
- /* All Rights Reserved */
- /* */
- /* Revision History: */
- /* */
- /* Date Who Modification */
- /* */
- /* 1991-08-17 Chris Halim Original version */
- /* 1995-06-26 Jaakko Railo Version 2.0 */
- /* */
- /************************************************************************************************/
-
- /****************************************** DESCRIPTION ******************************************
-
- *************************************************************************************************/
-
- /************************************************************************************************/
- /************************************************************************************************/
-
-
- #ifndef __MODULEWINDOW__
- #define __MODULEWINDOW__
-
-
- #ifndef __ALIASES__
- #include "Aliases.h"
- #endif
-
- #ifndef __DIALOGS__
- #include "Dialogs.h"
- #endif
-
- #ifndef __EVENTS__
- #include "Events.h"
- #endif
-
- #ifndef __LISTS__
- #include "Lists.h"
- #endif
-
-
- #if defined(powerc) || defined (__powerc)
- #pragma options align=mac68k
- #endif
- struct ModuleWindowRec {
- WindowRecord fWindowRecord;
- ListHandle fNameList; // list manager record containing test names
- AliasHandle fTestDirAlias; // alias to the main test directory
- };
- #if defined(powerc) || defined(__powerc)
- #pragma options align=reset
- #endif
-
- typedef struct ModuleWindowRec ModuleWindowRec;
-
- typedef ModuleWindowRec *ModuleWindowPtr;
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- short CreateModuleWindow (ModuleWindowPtr * moduleWindow, const Rect * windowRect);
- void DisposeModuleWindow (ModuleWindowPtr moduleWindow);
- Boolean IsHandledByModuleWindow (ModuleWindowPtr moduleWindow, const EventRecord * theEvent);
- OSErr CreateNameList (ModuleWindowPtr moduleWindow);
- pascal Boolean GetDirModalFilter (DialogPtr theDialog, EventRecord* theEvent, short* itemHit, Ptr data);
- pascal short GetDirDialogHook (short item, DialogPtr theDialog, Ptr data);
- AliasHandle GetNewTestDirAlias (ModuleWindowPtr moduleWindow);
-
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __MODULEWINDOW__ */
-
-
-